package com.xlk.xfire.serviec.impl;

import com.xlk.xfire.domian.User;
import com.xlk.xfire.serviec.IHelloService;

public class HelloService implements IHelloService{

	@Override
	public User getUser(User user) {
		User userNew = new User();  
        userNew.setId("new:"+user.getId());  
        userNew.setName("new:"+user.getName());  
        return userNew;  
	}

	@Override
	public String sayHello(String name) {
		
		return "hello  "+ name;
	}

}
